package com.msda.service.room;

import com.msda.pojo.dto.PageDTO;
import com.msda.pojo.dto.room.RoomDTO;
import com.msda.pojo.entity.requirement.MeetingRoomSearchParams;
import com.msda.pojo.entity.requirement.Requirement;
import com.msda.pojo.entity.room.MeetingRoom;
import com.msda.pojo.vo.RoomOrderDetail;

import java.util.List;

public interface RoomService {
    String addRoom(RoomDTO roomDTO);

    MeetingRoom getRoomById(String roomId);


    int deleteRoom(String roomId);



    MeetingRoom updateRoom(RoomDTO roomDTO);


    Long getAllRoomCount();


    List<MeetingRoom> getPageRoom(PageDTO pageDTO);


    List<MeetingRoom> getRoomByRequirement(Requirement requirement);

    void lockRoom(String roomId);

    void unLockRoom(String roomId);

    List<MeetingRoom> adminSearchRoom(MeetingRoomSearchParams meetingRoomSearchParams);


    Object searchUsingMeetingRoom();

    List<RoomOrderDetail> searchOrderByMeetingRoomId(String meetingRoomId);

}
